import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import grid from '@/components/grid'
import table from '@/components/table'
import add from '@/components/add'
import edit from '@/components/edit'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'table',
      component: table
    },{
      path: '/grid',
      name: 'grid',
      component: grid
    },{
      path: '/table',
      name: 'table',
      component: table
    },{
      path: '/add',
      name: 'add',
      component: add
    },{
      path: '/edit',
      name: 'edit',
      component: edit
    }
  ]
})
